package com.harbintransport.backend.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "route_passenger_mobility")
public class RouteMobility {

    @Id
    @Column(name = "route_id")
    private String routeId;

    @Column(name = "total_passengers")
    private Integer totalPassengers;

    @Column(name = "avg_passengers_per_stop")
    private Double avgPassengersPerStop;

    // Getters and Setters
    public String getRouteId() {
        return routeId;
    }

    public void setRouteId(String routeId) {
        this.routeId = routeId;
    }

    public Integer getTotalPassengers() {
        return totalPassengers;
    }

    public void setTotalPassengers(Integer totalPassengers) {
        this.totalPassengers = totalPassengers;
    }

    public Double getAvgPassengersPerStop() {
        return avgPassengersPerStop;
    }

    public void setAvgPassengersPerStop(Double avgPassengersPerStop) {
        this.avgPassengersPerStop = avgPassengersPerStop;
    }
}